/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hessingerbg.codebehind;

import java.awt.AWTException;
import java.awt.Robot;


/**
 *
 * @author MikeLaptop
 */
public class keyevent extends Robot{
    
        public keyevent() throws AWTException
        {
            super();
        }


	public void holdKey(int code)
	{
		this.keyPress(code);
	}

	public void releaseKey(int code)
	{
		this.keyRelease(code);
	}

	public void pressKey(int code)
	{
		this.keyPress(code);
		this.keyRelease(code);

        }


}
